<script>
import Fav from './api/fav'
import Cart from './api/cart'
import base64 from './util/base64'
const favModel = new Fav()
const cartModel = new Cart()


	export default {
    onLaunch: function() {

    },
		onShow: function() {
		},
		onHide: function() {
			// console.log('App Hide')
		},
    methods: {
    }
	}
</script>

<style lang="scss">
	/*每个页面公共css */
  @import "uview-ui/index.scss";

  // 这个目前没有使用
  .content {
    ::v-deep {
      .img {
        width: 100%;
      }
    }
  }

  .text-hide {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .one-lines {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
  }


  .two-lines {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .shadow {
    box-shadow: 0 7.5px 5px #e0e1e1;
  }

  // 图片
  //.image {
  //  image {
  //    display: auto;
  //    width: auto;
  //    height: auto;
  //    max-width: 100%;
  //    max-height: 100%;
  //  }
  //}
</style>
